package com.service;

import com.pojo.TSysUser;

import java.util.List;

public interface TSysUserService {
    TSysUser login(String loginName,String userType);

    List<TSysUser> list(Integer begin,Integer size,String loginName,String userName);

    int count(String loginName,String userName);
    int add(TSysUser tsysUser);

    TSysUser selectId(Integer userId);

    int del(Integer userId);

    int edit(TSysUser tsysUser);

    int selectByAccount(String loginName);
}
